/// **************************************************************************************************
/// "Copyright (c) 2007 Sai Panyam, Inc.  All rights reserved."
/// **************************************************************************************************
/// Component Name   :	ModifierParseOrderComparator, Member of System72.NTextile 
/// Description      :	ModifierParseOrderComparator description
/// Author           :	Sai Panyam
/// Creation Date    :	November 09 2007
/// Modified Date    :              
/// Modified By      :
/// **************************************************************************************************
using System.Collections.Generic;
namespace System72.NTextile
{
    /// <summary>
    /// 
    /// </summary>
    public class ModifierParseOrderComparator:IComparer<IModifier>
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="x"></param>
        /// <param name="y"></param>
        /// <returns></returns>
        int IComparer<IModifier>.Compare(IModifier x, IModifier y)
        {
            return x.ParseOrder.CompareTo(y.ParseOrder);
        }
    }
}
